class CreateContacts < ActiveRecord::Migration
	def self.up
		create_table :contacts do |t|
			t.string :email, :null => false, :unique => true
			t.string :name
			t.timestamps
		end
	end
	
	def self.down
		drop_table :contacts
	end
end
